/**
 * Author:runlin。tang.
 * Creation Time: 2016/6/29
 * Description: 充电宝wifi网络列表接口
 */

define(['jquery','../../common/ajax/ajax','../v/ulList'],
    function($,ajax,ulList) {
        function example(){console.log(interfaces.get_ssid_list);
            ajax({
                url:interfaces.get_ssid_list.url,
                dataType:interfaces.get_ssid_list.dataType,
                type:interfaces.get_ssid_list.type,
                data:{},
                cache:{
                    use:false,
                    name:'',
                    time:2
                },
                isOk:function(data){
                    var datas = '';
                    if(useNetData){
                        datas = data;
                    }else{
                        datas = data.chongdian;
                    }
                    ulList(datas);
                }
            });
        }
        return example;
});